
import request from '../utils/request.js'

export const userLogin = (data) => request({ url: '/schedule/user/login', data })

export const getUserInfo = () => request({ url: '/schedule/user/getInfo' })

export const saveOrUpdateUser = (data) => request({ url: '/schedule/user/saveOrUpdate', data })

export const changeUserPassword = (data) => request({ url: '/schedule/user/changePassword', data })

export const forgetUserPassword = (data) => request({ url: '/schedule/user/forgetPassword', data })

export const getCode = (data) => request({ url: '/schedule/user/getCode', data })